#ifndef DUMMYACCEL_H
#define DUMMYACCEL_H

#include "primitive.h"
#include <vector>

using namespace std;

class DummyAccel: public Aggregate
{
public:
    DummyAccel(const vector<Primitive* > &p);
    BBox WorldBound() const { return bounds; }
    bool CanIntersect() const { return true; }
    ~DummyAccel();
    bool Intersect(const Ray &ray, Intersection *isect) const;
    bool IntersectP(const Ray &ray) const;

    DummyAccel();

private:
    vector<Primitive* >  primitives;
    BBox bounds;

};

#endif // DUMMYACCEL_H
